<template>
  <div>
    <Count :style="{ color: 'red' }" :a="1" :b="2" @fn="fn" />
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';

export default defineComponent({
  name: 'App',
});
</script>

<script setup lang="ts">
import Count from '@/components/Count/index.vue';
const fn = () => {
  console.log(1);
};
</script>

<style lang="scss"></style>
